const dependencies = require('./package.json').dependencies;
module.exports = {
  modulePublisher: {
    // 订单中心
    // 销售订单列表
    './oms-saleOrderManage-saleOrderManage-list':
      './src/page/order/saleOrderManage/OrderQuery/index.tsx',
    // 常规订单新建
    './oms-saleOrderManage-orderQueryRegularOrder-create':
      './src/page/order/saleOrderManage/OrderQuery/regularOrder/Edit/index.tsx',
    // 常规订单编辑
    './oms-saleOrderManage-orderQueryRegularOrder-edit':
      './src/page/order/saleOrderManage/OrderQuery/regularOrder/Edit/index.tsx',
    // 常规订单详情
    './oms-saleOrderManage-orderQueryRegularOrder-view':
      './src/page/order/saleOrderManage/OrderQuery/regularOrder/View/index.tsx',
    // 贸易订单新建
    './oms-saleOrderManage-orderQueryTradeOrder-create':
      './src/page/order/saleOrderManage/OrderQuery/tradeOrder/Edit/index.tsx',
       // 贸易订单编辑
    './oms-saleOrderManage-orderQueryTradeOrder-edit':
      './src/page/order/saleOrderManage/OrderQuery/tradeOrder/Edit/index.tsx',
       // 贸易订单详情
    './oms-saleOrderManage-orderQueryTradeOrder-view':
      './src/page/order/saleOrderManage/OrderQuery/regularOrder/View/index.tsx',
    // 合同订单新建
    './oms-saleOrderManage-orderQueryContractOrder-create':
      './src/page/order/saleOrderManage/OrderQuery/contractOrder/Edit/index.tsx',
      // 合同订单编辑
    './oms-saleOrderManage-orderQueryContractOrder-edit':
      './src/page/order/saleOrderManage/OrderQuery/contractOrder/Edit/index.tsx',
      // 合同订单详情
    './oms-saleOrderManage-orderQueryContractOrder-view':
      './src/page/order/saleOrderManage/OrderQuery/regularOrder/View/index.tsx',
    // 销售订单暂挂查询
    './oms-saleOrderManage-orderHoldIndex':
      './src/page/order/saleOrderManage/OrderHold/index.tsx',
    // 销售暂挂编辑
    './oms-saleOrderManage-orderHoldedit':
      './src/page/order/saleOrderManage/OrderQuery/regularOrder/Edit/index.tsx',
    // 销售订单排期
    './oms-saleOrderManage-orderScheduleIndex':
      './src/page/order/saleOrderManage/OrderSchedule/index.tsx',
    //C端销售订单列表
    './oms-saleOrderManageC-orderQuery-list':
    './src/page/order/saleOrderManage/OrderQuery/cTypeOrder/List',
     //C端销售订单编辑
    './oms-saleOrderManageC-orderQuery-cTypeOrder-edit':
    './src/page/order/saleOrderManage/OrderQuery/groupOrder/Edit',
    //C端销售订单详情
    './oms-saleOrderManageC-orderQuery-cTypeOrder-view':
    './src/page/order/saleOrderManage/OrderQuery/cTypeOrder/View',
    // 订单发货
    './oms-dispatchBill-distributionInfo':
      './src/page/order/dispatchBillManage/DistributionInfo/index.tsx',
    // 发货单列表
    './oms-dispatchBill-list':
      './src/page/order/dispatchBillManage/DispatchBill/index.tsx',
    // 发货单新增
    './oms-dispatchBill-create':
      './src/page/order/dispatchBillManage/DispatchBill/edit/index.tsx',
    // 发货单编辑
    './oms-dispatchBill-edit':
      './src/page/order/dispatchBillManage/DispatchBill/edit/index.tsx',
    // 发货单详情
    './oms-dispatchBill-view':
      './src/page/order/dispatchBillManage/DispatchBill/view/index.tsx',
    // 集团内销售订单列表
    './oms-groupOrderManage-list':
      './src/page/order/saleOrderManage/OrderQuery/groupOrder/List/index.tsx',
      // 集团内销售订单新建
    './oms-groupOrderManage-orderQueryGroupOrder-create':
      './src/page/order/saleOrderManage/OrderQuery/groupOrder/Edit/index.tsx',
    // 集团内销售订单编辑
    './oms-groupOrderManage-orderQueryGroupOrder-edit':
      './src/page/order/saleOrderManage/OrderQuery/groupOrder/Edit/index.tsx',
    // 集团内销售订单详情
    './oms-groupOrderManage-orderQueryGroupOrder-view':
      './src/page/order/saleOrderManage/OrderQuery/groupOrder/View/index.tsx',
    // 卡券销售订单列表
    './oms-cardOrderManage-list':
      './src/page/order/saleOrderManage/OrderQuery/cardOrder/List/index.tsx',
    // 购物卡销售订单新建
    './oms-cardOrderManage-orderQueryCardOrder-create':
      './src/page/order/saleOrderManage/OrderQuery/cardOrder/Edit/index.tsx',
    // 购物卡销售订单编辑
    './oms-cardOrderManage-orderQueryCardOrder-edit':
      './src/page/order/saleOrderManage/OrderQuery/cardOrder/Edit/index.tsx',
    // 购物卡销售订单详情
    './oms-cardOrderManage-orderQueryCardOrder-view':
      './src/page/order/saleOrderManage/OrderQuery/regularOrder/View/index.tsx',
    // 提货券订单新建
    './oms-voucherOrderManage-create':
      './src/page/order/saleOrderManage/OrderQuery/voucherOrder/Edit/index.tsx',
    // 提货券订单编辑
    './oms-voucherOrderManage-edit':
      './src/page/order/saleOrderManage/OrderQuery/voucherOrder/Edit/index.tsx',
    // 提货券订单详情
    './oms-voucherOrderManage-view':
      './src/page/order/saleOrderManage/OrderQuery/regularOrder/View/index.tsx',
    // 退款退货订单列表
    './oms-salesReturnManage-list':
      './src/page/order/salesReturnManage/SalesReturnOrder/index.tsx',
    // 即场退货新增
    './oms-salesReturnManage-JC-create':
      './src/page/order/salesReturnManage/SalesReturnOrder/edit/JC/index.tsx',
    // 即场退货编辑
    './oms-salesReturnManage-JC-edit':
      './src/page/order/salesReturnManage/SalesReturnOrder/edit/JC/index.tsx',
    // 即场退货详情
    './oms-salesReturnManage-JC-view':
      './src/page/order/salesReturnManage/SalesReturnOrder/view/JC/index.tsx',
    // 客仓退货新增
    './oms-salesReturnManage-KC-create':
      './src/page/order/salesReturnManage/SalesReturnOrder/edit/KC/index.tsx',
    // 客仓退货编辑
    './oms-salesReturnManage-KC-edit':
      './src/page/order/salesReturnManage/SalesReturnOrder/edit/KC/index.tsx',
    // 客仓退货详情
    './oms-salesReturnManage-KC-view':
      './src/page/order/salesReturnManage/SalesReturnOrder/view/KC/index.tsx',
    // 退货订单收货
    './oms-salesReturnManage-salseReturnReceive-list':
      './src/page/order/salesReturnManage/SalseReturnReceive/index.tsx',
    // 退货收货单列表
    './oms-salesReturnManage-salesReturnStorage-list':
      './src/page/order/salesReturnManage/SalesReturnStorage/index.tsx',
    // 退货收货单新增
    './oms-salesReturnManage-salesReturnStorage-create':
      './src/page/order/salesReturnManage/SalesReturnStorage/edit/index.tsx',
    // 退货收货单编辑
    './oms-salesReturnManage-salesReturnStorage-edit':
      './src/page/order/salesReturnManage/SalesReturnStorage/edit/index.tsx',
    // 退货入库单详情
    './oms-salesReturnManage-salesReturnStorage-view':
      './src/page/order/salesReturnManage/SalesReturnStorage/view/index.tsx',
    // 订单场景配置
    './oms-orderConfig-sceneIndex':
      './src/page/order/orderConfig/Scene/index.tsx',
    // 订单行类型配置
    './oms-orderConfig-lineType':
      './src/page/order/orderConfig/LineType/index.tsx',
    // 销售订单配货
    './oms-allocManage-saleOrderAllocIndex':
      './src/page/order/allocManage/SaleOrderAlloc/index.tsx',
    // 平衡利库
    './oms-allocManage-saleOrderBalanceIndex':
      './src/page/order/allocManage/SaleOrderAlloc/index.tsx',
    // 待采购项
    './oms-allocManage-awaitPurIndex':
      './src/page/order/allocManage/AwaitPur/index.tsx',
      // 批量修改一件代发
    './oms-allocManage-batchSuppFlag':
      './src/page/order/allocManage/BatchSuppFlag/index.tsx',
    // 工单类订单列表
    './oms-workOrder-list':
      './src/page/order/saleOrderManage/OrderQuery/workOrder/List/index.tsx',
    // 工单类详情
    './oms-workOrder-view':
      './src/page/order/saleOrderManage/OrderQuery/workOrder/View/index.tsx',
      // 卡券使用信息查询
    './oms-salesManagement-list':
      './src/page/order/salesManagement/CouponInfo/index.tsx'
  },
  // libShared: ['react-router-dom', 'react-dom', 'react', 'antd'],
  libShared: {
    'react-dom': {
      requiredVersion: dependencies['react-dom'],
      singleton: true
    },
    react: {
      requiredVersion: dependencies['react'],
      singleton: true
    },
    'react-router-dom': {
      requiredVersion: dependencies['react-router-dom'],
      singleton: true
    }
  },
  applicationName: 'oms'
};
